package com.hps.shoping.good.entitys;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "t_message")
public class OrderMessage implements Serializable {
    @Id
    private Long id;

    @Column(name = "order_id")
    private String orderId;

    @Column(name = "created_time")
    private Date createdTime;

    @Column(name = "status")
    private Boolean status;

    private static final long serialVersionUID = 1L;

    /**
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return order_id
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    /**
     * @return created_time
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * @param createdTime
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }
}